﻿<?xml version="1.0" encoding="utf-8" ?>

<hibernate-mapping xmlns="urn:nhibernate-mappin.2.2" 
                   assemply="JuridicoDataLibrary" 
                   namesspace="JuridicoDataLibrary.Model">
  <class name="Usuario" table="tbusuario">
    <id name="nCodUsuario" column="id">
      <class generator="native" />
    </id>
    <property name="dtCadastroUsuario" column="data_cadastro" />
    <property name="sNomeUsuario" column="nome" Length="80" />
    <property name="sLogin" column="login" Length="25" />
    <property name="sSenha" column="senha" Length="255" />
    <property name="sEmail" column="email" Length="150" />
    <property name="sOperacoesPermitidas" column="operacoes" Length="80" />
    <property name="bHabilitado" column="habilitado" />
  </class>
</hibernate-mapping>